import request from '@/utils/request'

// 获取合作者
export function loadAllPartners(query) {
  return request({
    url: '/partner/loadAllPartners',
    method: 'get',
    params: query
  })
}
// 获取SPU合作者
export function loadAllSpuPartners(query) {
  return request({
    url: '/partner/loadAllSpuPartners',
    method: 'get',
    params: query
  })
}

// 获取SPU合作者 - 通过权责配置
export function loadAllSpuPartnersBySettle(query) {
  return request({
    url: '/damo/partnerDetail/list',
    method: 'get',
    params: query
  })
}
